//
//  UIScrollView+PullToRefresh.h
//  Local
//
//  Created by 刘铎 on 14-1-9.
//  Copyright (c) 2014年 上海即略网络信息科技有限公司. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "MJRefreshHeaderView.h"
#import "MJRefreshFooterView.h"

@interface UIScrollView (PullToRefresh)

@property (nonatomic, strong, readonly) MJRefreshHeaderView *refreshHeaderView;
@property (nonatomic, strong, readonly) MJRefreshFooterView *loadMoreFooterView;

// 添加下拉刷新
- (void)addRefreshHeaderWithRefreshBlock:(void (^)(MJRefreshBaseView *refreshView))refreshBlock;

- (void)addLoadMoreFooterWithLoadMoreBlock:(void (^)(MJRefreshBaseView *refreshView))loadMoreBlock;

@end
